/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021.
 * Description: support rtos softlockup call hook feature
 * Author: zhuyan
 * Create: 2021-07-14
 */
#ifndef RTOS_SOFTLOCKUP_CHAIN_H
#define RTOS_SOFTLOCKUP_CHAIN_H
#include <linux/notifier.h>

extern int rtos_softlockup_notifier_register(struct notifier_block *nb);
extern int rtos_softlockup_notifier_unregister(struct notifier_block *nb);

#ifdef CONFIG_RTOS_DEBUG_SOFTLOCKUP_GRADING
extern int rtos_softlockup_grading_notifier_register(struct notifier_block *nb);
extern int rtos_softlockup_grading_notifier_unregister(struct notifier_block *nb);
#endif

#endif /* RTOS_SOFTLOCKUP_CHAIN_H */
